<style>
    .order-info{
      display: flex;
      justify-content: left;
      flex-wrap:wrap
    }
    .order-item{
      width: 30%;
      padding: 10px;
    }
    .order-item span{
      color: #676464;;
    }
    </style>
    <div class="layuimini-container">
       
           <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                <legend>订单信息</legend>
            </fieldset>
    
            <div class="order-info">
                <div class="order-item">
                    收货人姓名 : <span>{$row.sent_to_user|default=''}</span>
                </div>
                <div class="order-item">
                    收货人地址 : <span>{$row.sent_to_address|default=''}</span>
                </div>
                <div class="order-item">
                    收货人联系方式 : <span>{$row.sent_to_tel|default=''}</span>
                </div>
                <!-- <div class="order-item">
                    备注 : <span>{$row.remark|default=''}
                </div> -->
            </div>
    
            <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                <legend>商品信息</legend>
            </fieldset>
  
            <div class="layui-form">
                <table class="layui-table" lay-skin="line" style="width: 90%;margin: 0 auto;">
                    <colgroup>
                      <col width="150">
                      <col width="150">
                      <col width="200">
                      <col>
                    </colgroup>
                    <thead>
                      <tr>
                        <th>序号</th>
                        <th>商品名称</th>
                        <th>商品图片</th>
                        <th>数量</th>
                        <th>商品金额</th>
                        <th>结算金额</th>
                      </tr> 
                    </thead>
                    <tbody>
                        {foreach $row.goods_arr as $k => $v}
                      <tr>
                        <td>{$k+1}</td>
                        <td>{$v.goods_name}</td>
                        <td><img src="{$v.logo}" style="height: 50px;"></td>
                        <td>{$v.num}</td>
                        <td>{$v.market_price}</td>
                        <td>{$v.settle_price}</td>
                      </tr>
                        {/foreach}
                    </tbody>
                </table>   
            </div>

        <form id="app-form" class="layui-form layuimini-form">
    
            <input type="hidden" name="id" value="{$row.id}">
            <input type="hidden" name="appid" value="{$row.appid}">
            <input type="hidden" name="status" value="1">

            <div style="display: flex;justify-content: center;padding-top:30px ;">
                <div style="width: 60%;">
                    <div class="layui-form-item" pane="">
                        <label class="layui-form-label">发货方式 :</label>
                        <div class="layui-input-block">
                            <input type="radio" class="send_type" name="send_type" value="1" title="需要物流" checked="">
                            <input type="radio" class="send_type" name="send_type" value="2" title="无需物流">
                        </div>
                    </div>
                   
                    <div class="layui-form-item">
                        <label class="layui-form-label">快递费用 :</label>
                        <div class="layui-input-block">
                            <input type="number" name="express_money" class="layui-input"  placeholder="请输入快递费用" value="">
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">快递信息 :</label>
                        <div class="layui-input-block">
                            <textarea name="express_info" placeholder="请输入快递信息" class="layui-textarea"></textarea>
                        </div>
                    </div>

                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                          <textarea name="send_remark" placeholder="请输入内容" class="layui-textarea"></textarea>
                        </div>
                      </div>
                </div>
            </div>
           
           
            <div class="hr-line"></div>
            <div class="layui-form-item text-center">
                <input type="checkbox" name="if_confirm" lay-skin="primary" title="已确认单笔限额" value="1">
                <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认发货</button>
                <!-- <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button> -->
            </div>
        </form>
    </div>
    <!-- <script src="/static/common/js/jquery-1.10.1.min.js"></script>

    <script>
        $("input[name=send_type]").on('change', function() {
            item = $(this).val();
            alert(item);
        })   
    </script> -->